
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_demo/src/widgets/ListItem/index.dart';


class Basic extends StatelessWidget{
  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return ListView(
      children: <Widget>[
        ListItem(title: 'Text - 文本', path:'/TextPage'),
        Divider(height: 1),
        ListItem(title: 'Button - 按钮', path:'/ButtonPage'),
        Divider(height: 1),
        ListItem(title: 'Image,Icon - 图片,Icon', path: '/ImagePage'),
        Divider(height: 1),
        ListItem(title: 'Form - 表单', path: '/FormPage'),
        Divider(height: 1),
      ],
    );
  }
}